package cate.common.table.res.hoard.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class HoardLevelRow extends ERow {
    @NoteField("等级")
    public int level;

    @NoteField("最低经验")
    public int expMin;

    @NoteField("最高经验")
    public int expMax;

    @NoteField("属性加成")
    public String reward;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        id = xrw.getInteger("ID");
        level = xrw.getInteger("等级");
        expMin = xrw.getInteger("最低经验",0);
        expMax = xrw.getInteger("最高经验",99999999);
        reward = xrw.getString("属性加成", "");
    }
}
